import _fetch from './request'

function getChartTitle(data) {
    return _fetch({
        url: "/data/title",
        method: "post",
        data
    })
}

function getChartSta(data) {
    return _fetch({
        url: "/data/statistics",
        method: "post",
        data
    })
}

function getChartHot(data) {
    return _fetch({
        url: "/data/hot_cities",
        method: "post",
        data
    })
}
export { getChartTitle, getChartSta, getChartHot }